package com.itheima.employee.service;

import com.itheima.common.entity.PageResult;
import com.itheima.employee.pojo.EmployeeArchive;

import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


/**
 * @author qiankaofei
 * @version 1.0
 * @date 2020/11/16 10:45
 */
@Service
public interface ArchiveService  {

  void save(EmployeeArchive archive);

  EmployeeArchive findLast(String companyId, String month);


  /**
   * 分页查询历史归档列表
   */
  PageResult<EmployeeArchive> findSearch(String year,String companyId, Integer page, Integer pagesize);
}
